package cn.dkk.create_design.singleton.hungery.staticMember;

import java.io.Serializable;

/**
 * 饿汉式静态单例对象
 */
public class StaticHungerSingleton implements Serializable {

    private static StaticHungerSingleton singleton =new StaticHungerSingleton();

    private StaticHungerSingleton(){

    }

    public static StaticHungerSingleton getSingleton(){
        return singleton;
    }

}
